package org.dromara.manu.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.manu.domain.ManuKpiRecord;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 记录视图对象 manu_kpi_record
 *
 * @author Bin Liu
 * @date 2024-08-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ManuKpiRecord.class)
public class ManuKpiRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 主数据主键
     */
    @ExcelProperty(value = "主数据主键")
    private Long masterId;

    /**
     * 年份
     */
    @ExcelProperty(value = "年份")
    private Integer yearNum;

    /**
     * 月份
     */
    @ExcelProperty(value = "月份")
    private Integer monthNum;

    /**
     * 周
     */
    @ExcelProperty(value = "周")
    private Integer weekNum;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date byDaily;

    /**
     * 班次
     */
    @ExcelProperty(value = "班次")
    private Integer byShift;

    /**
     * 数据结果
     */
    @ExcelProperty(value = "数据结果")
    private BigDecimal kpiResult;

}
